import React, { Component } from "react";
import { Switch, Route, Redirect, Link } from "react-router-dom";
import home from "./home";
import newdetail from "./newdetail";
class intelligentLearning extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }
  render() {
    return (
      <Switch>
        <Route path="/intelligentLearning" component={home} exact />
        <Route path="/intelligentLearning/newdetail" component={newdetail} />

        <Redirect to="/intelligentLearning" />
      </Switch>
    );
  }
}

export default intelligentLearning;
